A sprite with animations, it got a pointer to a simple sprite, and informations needeed to anmate it. the sprite'simage is the charset, and width and height are divded by the number of animations. Remember that t_anim_sprite must be manipulated with anim_sprite functions.
More...
A sprite with animations, it got a pointer to a simple sprite, and informations needeed to anmate it. the sprite'simage is the charset, and width and height are divded by the number of animations. Remember that t_anim_sprite must be manipulated with anim_sprite functions.
Parameters:
p_sprite
: regular sprite
v_anim
: array of animations
animation_nb
: number of animations
animation_current
: current animation
number
of frames in the charset on x
number
of frames in the charset on y
The documentation for this struct was generated from the following file: